
import java.util.HashSet;
import java.util.Set;

public class sortetSets {
    public static void main(String[] args) {
        Set<Shirt> sortedSetHashCodeShirp = new HashSet<Shirt>();
        
        Shirt Srip1 = new Shirt(45, "Marron",""); Shirt Srip2 = new Shirt(45, "Amarillo","");
        Shirt Srip3 = new Shirt(45, "Marron","");Shirt Srip4 = new Shirt(45, "Green","");
        
        sortedSetHashCodeShirp.add(Srip1); sortedSetHashCodeShirp.add(Srip2);
        sortedSetHashCodeShirp.add(Srip3);sortedSetHashCodeShirp.add(Srip4);        
            
        for (Shirt toPrintSortedSetHashMapShirp : sortedSetHashCodeShirp) {
            System.out.println(""+toPrintSortedSetHashMapShirp.toString());
        }
    }
}
